CMAKE_MINIMUM_REQUIRED(VERSION 3.6)
PROJECT(tests)

add_executable(testProto testProto.cpp )

target_link_libraries(testProto protocol dl)
MESSAGE(STATUS "test :${PROTOCOL_INCLUDES}")
add_executable(test2 test2.cpp)
target_link_libraries(test2 security)

add_executable(testConsultCipther testConsultCipther.cpp)
target_link_libraries(testConsultCipther security)
if (WITH_GEEJOAN_MYSQL_WARPPER)
add_executable(test_mysql test_mysql.cpp)
target_link_libraries(test_mysql mysqlcpp)
endif()

add_executable(test_timer_task test_timer_task.cpp)
target_link_libraries(test_timer_task common_tool pthread)
